import { LayoutIndex } from '../constant'
import type { RouteObjects } from '../interface'
import Home from '../../pages/home/index'

const homeRouter: Array<RouteObjects> = [
  {
    element: <LayoutIndex />,
    children: [
      {
        path: '/home',
        element: <Home />,
        meta: {
          requiresAuth: true,
          title: '首页',
          key: 'home'
        }
      }
    ]
  }
]

export default homeRouter